#!/bin/sh
# Copy the two sets of files to the user's shared directory
cp -rf "$1/../CyraKnow" "/Users/Shared/"

# Check to see if a library folder pre-exists, so we don't delete it later
if [ -d "$3/Library" ]; then
	touch "$3/Library/.dontdel"
fi
echo "$3/CyraKnow/Media/" | tr -d '\012' > /tmp/ipod_name
exit 0
